package com.lzh.shijicloudstack.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzh.shijicloudstack.model.entity.Menu;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;


/**
 * 菜单权限表(SysMenu)表数据库访问层
 *
 * @author luzhiheng
 * @since 2023-12-28 16:14:28
 */
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 查询总数
     *
     * @param queryMap 参数
     * @return Integer
     */
    Integer countList(Map<String, Object> queryMap);

    /**
     * 分页查询
     *
     * @param queryMap 参数
     * @return List<Map < String, Object>>
     */
    List<Map<String, Object>> pageList(Map<String, Object> queryMap);
}

